home *** CD-ROM | disk | FTP | other *** search
Java Source | 1999-05-28 | 848 b | 38 lines | [TEXT/CWIE] |
- /*
- * @(#)GraphicsWrapper.java 1.3 98/08/26
- *
- * Copyright 1998 by Sun Microsystems, Inc.,
- * 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
- * All rights reserved.
- *
- * This software is the confidential and proprietary information
- * of Sun Microsystems, Inc. ("Confidential Information"). You
- * shall not disclose such Confidential Information and shall use
- * it only in accordance with the terms of the license agreement
- * you entered into with Sun.
- */
- package javax.swing;
-
- /**
- * A private interface to access clip bounds in wrapped Graphics objects.
- *
- * @version 1.3 08/26/98
- * @author Thomas Ball
- */
-
- import java.awt.*;
-
- interface GraphicsWrapper {
- Graphics subGraphics();
-
- boolean isClipIntersecting(Rectangle r);
-
- int getClipX();
-
- int getClipY();
-
- int getClipWidth();
-
- int getClipHeight();
- }
-